#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main() {
    double a = 0.0, b = 0.0;
    double d = 0.0;
    char c;
    scanf("%lf%c%lf", &a, &c, &b);
    {
        switch (c)
        {
        case '+':
        {
            d = a + b;
            printf("%.4lf%c%.4lf=%.4lf", a, c, b, d);
            break;
        }
        case '-':
        {
            d = a - b;
            printf("%.4lf%c%.4lf=%.4lf", a, c, b, d);
            break;
        }
        case '*':
        {
            d = a * b;
            printf("%.4lf%c%.4lf=%.4lf", a, c, b, d);
            break;
        }
        case '/':
        {
            if (b != 0.0)
            {
                d = a / b;
                printf("%.4f%c%.4f=%.4lf", a, c, b, d);
                break;
            }
            else {
                printf("Wrong!Division by zero!");
                break;
            }
        default:
            printf("Invalid operation!");
        }
        }

    }
    return 0;
}